package com.zz.cc.owner.data;

import android.os.Handler;

import com.alipay.android.app.sdk.AliPay;
import com.zz.common.app.BaseActivity;

public class alipay {
	
	public static String syncAlipay(BaseActivity activity, float cost) {
		Handler handler = new Handler();
		AliPay payer = new AliPay(activity, handler);
		String orderInfo = createOrderInfo(cost);
		String result = payer.pay(orderInfo);
		return result;
	}
	
	private static String createOrderInfo(float cost) {
		return "" + cost;
	}
}
